//
//  EventDetailView.h
//  eticket
//
//  Created by AnhQuocNguyen on 4/18/13.
//  Copyright (c) 2013 SoinMedia. All rights reserved.
//

#import <UIKit/UIKit.h>

@protocol eventDetailViewDelegate;
@interface EventDetailView : UIView{
    
    IBOutlet UIButton *_btnBack;
    IBOutlet UILabel *_lbTitle;
    IBOutlet UILabel *_lbCategory;
    IBOutlet UILabel *_lbStartTime;
    IBOutlet UILabel *_lbAddress;
    IBOutlet UIView *_descriptionView;
    IBOutlet UITextView *_txtDescription;
    IBOutlet UIImageView *_imgViewMap;
    IBOutlet UIButton *_btnBuyTicket;
    IBOutlet UILabel *_lbBuyTicket;
    IBOutlet UILabel *_lbDescription;
    
    
    //hud
    MBProgressHUD *mHud;
    BOOL mLoading;
    NSInteger _countTimeout;
    
}

@property (nonatomic, assign) id <eventDetailViewDelegate> eventDetailViewDelegate;
@property (nonatomic, retain) NSString *eventSlug;

- (IBAction)btnEventDetailBack_Clicked:(id)sender;

- (void)setupEventDetailView;

- (void)getDataFromServer;
@end



///////////////////////////////////////////////////////
@protocol eventDetailViewDelegate <NSObject>
- (void)eventDetailViewWithback:(EventDetailView *)evenDetailView;
@optional

@end